package com.neuedu.it.teach.dao;

import com.neuedu.it.teach.entity.StudentInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface StudentInfoDao {
    void insertStudent(StudentInfo studentInfo);
    List<StudentInfo> selectAllStudents();
    List<StudentInfo> selectStudentsByUserId(Integer userId);
    void deleteStudentById(Integer studentId);
    void updateStudent(StudentInfo studentInfo);
    StudentInfo selectStudentsByStudentId(Integer studentId);
}
